/**
*  
* @Function 数据采集DAO
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.dao    
* @FileName DataCollectionDao.java    
* @Date 2018年6月22日下午12:01:13
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/
package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

/**
 * 
 * @Function 数据采集DAO
 * @ClassName DataCollectionDao
 * @Date 2018年6月22日 下午12:01:13
 * @Author Min DongXv
 * 
 */
public interface DataCollectionDao {

	/**
	 *
	 * @Function 获取数据采集列表
	 * @FileName BatchLogDao.java
	 * @MethodName getResourceListByConditionForPage
	 * @param userInfo
	 *            用户信息实体
	 * @param isFinish
	 *            是否完成 1:已完成 0:未完成
	 * @param rootId
	 *            库ID
	 * @param condition
	 *            普通查询条件
	 * @param page
	 *            分页
	 * @return
	 * @Date 2018年6月22日 上午11:38:28
	 * @Author Min DongXv
	 *
	 */
	public List<Map<String, Object>> getResourceListByConditionForPage(
			@Param(value = "conditions") List<String> conditions, @Param(value = "page") Page page,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "params") Map<String, Object> params);


	public List<Map<String, Object>> getDoubleResourceListByConditionForPage(
			@Param(value = "conditions") List<String> conditions, @Param(value = "page") Page page,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "params") Map<String, Object> params);

	public List<Map<String, Object>> getDoubleFrResourceListByConditionForPage(
			@Param(value = "conditions") List<String> conditions, @Param(value = "page") Page page,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "params") Map<String, Object> params);
	
	public List<Map<String, Object>> getTcountGroupByDept();


	public List<Map<String, Object>> getTenResourceListByConditionForPage(
			@Param(value = "conditions") List<String> conditions, @Param(value = "page") Page page,
			@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "params") Map<String, Object> params);

}
